<?
include_once "accesscontrol.php";
include_once "index.php";



$q2 = "select * from job_admin_login where aid = \"$daid\"";
$r2 = mysql_query($q2) or die(mysql_error());
$a2 = mysql_fetch_array($r2);

?>
<form action=save_admin.php method=post>
<table align=center width=420 cellspacing=0 class=BlackText border=0>
<caption align=center class=HeaderClass>Edit your info</caption>


<tr>
	<td width=150 align=right>Admin ID</td>
	<td width=370><input type=text name=aid value="<?=$a2[aid]?>"></td>
</tr>

<tr>
	<td width=150 align=right>Admin Pass</td>
	<td width=370><input type=password name=apass value="<?=$a2[apass]?>"></td>
</tr>

<tr>
	<td width=150 align=right>Name</td>
	<td width=370><input type=text name=name value="<?=$a2[name]?>"></td>
</tr>

<tr>
	<td width=150 align=right>Email</td>
	<td width=370><input type=text name=email value="<?=$a2[email]?>"></td>
</tr>

<tr>
	<td>&nbsp;</td>

	<input type=hidden name=aID value=<?=$daid?>>
	<td align=left><input type=submit name=s1 value="Update"></td>
</tr>
	
</table>
	
</form>

<? include_once('../footer.php'); ?>